package com.zero.youxiao.controller;

import com.zero.basic.exception.SmsRuntimeException;
import com.zero.youxiao.service.UserService;


public class LoginAction{
	private UserService userService;
	public void setUserService(UserService userService) {
		this.userService = userService;
	}
	public String execute(){
		String result = "error";
		try {
			userService.registProc();
			result = "success";
		} catch (SmsRuntimeException e) {
			e.printStackTrace();
		}
		return result;
	}
	

}
